Function at 0x2245260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push ebp
push esi
push edi
mov edi, dword [eax + 0x68]
mov ecx, dword [edi + 0xc]
mov eax, dword [edx + 0x68]
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x44], eax
mov eax, dword [eax + 0x2b4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x2b4]
cmp eax, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], ebp
mov esi, eax
jg 0x22452a5
mov esi, ecx
mov eax, dword [edx + 0x54]
test ah, 2
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], 1
je 0x22452bd
mov dword [esp + 0x4c], ebp
push esi
call fcn.0226b115
add esp, 4
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x22452da
pop edi
pop esi
mov eax, 0x446
pop ebp
add esp, 0x54
ret
push ebx
push esi
call fcn.0226b115
mov ebx, eax
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x6c], ebx
jne 0x2245308
mov edx, dword [esp + 0x1c]
push edx
call fcn.0226affd
add esp, 4
pop ebx
pop edi
pop esi
mov eax, 0x446
pop ebp
add esp, 0x54
ret
push esi
push 1
call fcn.0226b127
add esp, 8
cmp eax, ebp
mov dword [esp + 0x20], eax
jne 0x224533b
push ebx
call fcn.0226affd
mov eax, dword [esp + 0x20]
push eax
call fcn.0226affd
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 0x446
pop ebp
add esp, 0x54
ret
mov esi, dword [esp + 0x74]
push 0x428
push esi
call fcn.0226b127
add esp, 8
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x224537f
push ebx
call fcn.0226affd
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0226affd
mov edx, dword [esp + 0x28]
push edx
call fcn.0226affd
add esp, 0xc
pop ebx
pop edi
pop esi
mov eax, 0x446
pop ebp
add esp, 0x54
ret
push esi
push eax
call fcn.0225ea20
mov ebx, dword [esp + 0x84]
add esp, 8
cmp ebx, ebp
jle 0x2245426
push 0x64
push ebx
call fcn.0226b127
add esp, 8
cmp eax, ebp
mov dword [esp + 0x4c], eax
jne 0x22453b5
mov esi, 0x446
jmp 0x2245b5d
cmp ebx, ebp
jle 0x2245426
mov ebx, eax
mov eax, dword [esp + 0x78]
add eax, 0x40
mov dword [esp + 0x3c], eax
jmp 0x22453d0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [eax + 0x594]
push edx
push 0
push ecx
call fcn.0225f110
add esp, 0x10
test eax, eax
je 0x2245590
mov edx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x7c]
mov edi, ebx
inc ebp
add edx, 0x120
mov ecx, 0x19
add ebx, 0x64
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3c], edx
jl 0x22453d0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x74]
xor ebp, ebp
push 0x64
push esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x34], 0xffffffff
call fcn.0226b127
mov ebx, eax
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x28], ebx
jne 0x2245451
mov esi, 0x446
jmp 0x2245b5d
cmp esi, ebp
mov dword [esp + 0x14], ebp
jle 0x2245501
mov ebp, ebx
mov ebx, dword [esp + 0x70]
add ebx, 0x110
lea esp, [esp]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x58]
push edx
mov edx, dword [ecx + 0x594]
lea eax, [ebx - 0xd0]
push eax
push 0
push edx
call fcn.0225f110
mov ecx, dword [ebx]
add esp, 0x10
cmp ecx, 1
je 0x224549d
cmp ecx, 2
jne 0x22454b4
cmp dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x44], 1
jne 0x22454b4
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
test eax, eax
jne 0x22454d0
cmp ecx, 5
jne 0x2245590
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x594]
mov esi, dword [edx + 0xc]
jmp 0x22454d2
mov esi, eax
mov eax, dword [esp + 0x14]
mov edi, ebp
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x74]
inc eax
add ebx, 0x120
add ebp, 0x64
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x2245470
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x818]
mov ecx, dword [edi + 0x57c]
xor eax, eax
cmp edx, sym.edb500x.dll_DefaultEventProc
setne al
xor esi, esi
test ecx, ecx
mov dword [esp + 0x3c], eax
jle 0x2245541
mov eax, dword [edi + 0x578]
add eax, 0x90
mov edx, dword [eax]
cmp edx, esi
jle 0x2245539
mov esi, edx
add eax, 0xc8
dec ecx
jne 0x2245531
push 0x52
push 0x52
push edi
call fcn.022601d0
lea edx, [esp + 0x24]
push edx
push edi
call fcn.02260580
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
jne 0x224559a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x6c]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x68]
push edx
push eax
call fcn.02247590
add esp, 8
mov esi, eax
jmp 0x2245b5d
mov esi, 0x41e
jmp 0x2245b5d
push esi
call fcn.0226b115
mov ecx, dword [esp + 0x24]
push ecx
mov ebp, eax
push 1
push edi
mov dword [esp + 0x48], ebp
call fcn.02260350
mov esi, eax
mov eax, dword [esp + 0x4c]
add esp, 0x10
test eax, eax
je 0x22455d6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push edx
push 0
push 1
push eax
call fcn.0222cfe0
add esp, 0x10
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x24]
push 1
push ebp
push edx
push eax
push ebx
push ecx
call fcn.02244d00
mov eax, dword [esp + 0x98]
add esp, 0x1c
test eax, eax
jne 0x22457a8
test esi, esi
mov ebx, 1
mov dword [esp + 0x14], ebx
jne 0x2245b2b
cmp ebx, dword [esp + 0x18]
jge 0x224568f
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ebp
lea edi, [ebx + 1]
push edi
push edx
call fcn.02260350
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x2245680
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x224565d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push eax
push ebx
push 2
push ecx
call fcn.0222cfe0
add esp, 0x10
test eax, eax
jne 0x2245b26
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x78]
push edi
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push ebp
call fcn.02244d00
add esp, 0x1c
test esi, esi
mov ebx, edi
mov dword [esp + 0x14], ebx
je 0x2245616
jmp 0x2245b2b
test esi, esi
jne 0x2245b2b
mov eax, dword [esp + 0x44]
test eax, eax
je 0x22456c7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
imul eax, eax, 0x428
mov edx, dword [esp + 0x10]
mov eax, dword [eax + edx + 0x424]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.02260350
add esp, 0xc
mov eax, dword [esp + 0x74]
test eax, eax
jle 0x224578f
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add eax, 0x44
xor ebx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
add ebp, 0x110
mov dword [esp + 0x44], ecx
lea ebx, [ebx]
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x578]
mov ecx, dword [ebp]
add eax, ebx
test ecx, ecx
je 0x224572f
mov edx, dword [eax + 0xa8]
add edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x38]
push edx
push ecx
push eax
call fcn.02245080
add esp, 0x10
jmp 0x224575b
mov edi, dword [eax + 0xa8]
mov ecx, dword [eax + 0x88]
mov edx, dword [esp + 0x2c]
mov esi, dword [edx]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, ecx
shr ecx, 2
add esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
add esi, 0x428
add ecx, 0x64
add ebx, 0xc8
add ebp, 0x120
dec eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], eax
jne 0x2245700
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
push edx
call fcn.02247590
add esp, 8
mov esi, eax
jmp 0x2245b2b
push edi
call fcn.02260300
add esp, 4
test esi, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], 1
jne 0x2245b2b
mov dword [esp + 0x2c], 2
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jge 0x2245b2b
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push edi
push ecx
push edx
call fcn.02260350
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x2245b0a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x2245828
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push eax
push ecx
push 2
push edx
call fcn.0222cfe0
add esp, 0x10
test eax, eax
jne 0x2245b26
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x64]
push edi
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [edx + 0xd64]
push ecx
push eax
call fcn.02266830
add esp, 0x1c
test eax, eax
mov dword [esp + 0x60], eax
je 0x2245976
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.0225e910
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x74]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 8
test esi, esi
rep stosb byte es:[edi], al
jle 0x224594f
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x70]
add ecx, 0x44
mov edx, esi
xor ebx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add ebp, 0x110
mov dword [esp + 0x54], edx
jmp 0x22458c0
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x578]
mov ecx, dword [ebp]
add eax, ebx
test ecx, ecx
je 0x22458ef
mov edx, dword [eax + 0xa8]
add edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x44]
push edx
push ecx
push eax
call fcn.02245080
add esp, 0x10
jmp 0x224591b
mov edi, dword [eax + 0xa8]
mov ecx, dword [eax + 0x88]
mov edx, dword [esp + 0x44]
mov esi, dword [edx]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, ecx
shr ecx, 2
add esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
add esi, 0x428
add ecx, 0x64
add ebx, 0xc8
add ebp, 0x120
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], eax
jne 0x22458c0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
push edx
call fcn.02247590
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x7c]
push eax
push ecx
call fcn.0225ea20
mov eax, dword [esp + 0x70]
add esp, 0x10
test esi, esi
jne 0x2245b0a
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x18]
jne 0x2245ac7
test eax, eax
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x74]
je 0x22459a2
push esi
push edi
call fcn.0225ea20
add esp, 8
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push edi
push esi
push eax
push ecx
call fcn.02244d00
push esi
push edi
call fcn.0225e910
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x90]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 0x24
test esi, esi
rep stosb byte es:[edi], al
jle 0x2245aaf
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
add ecx, 0x44
xor ebx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
add ebp, 0x110
mov dword [esp + 0x54], edx
jmp 0x2245a20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x578]
mov ecx, dword [ebp]
add eax, ebx
test ecx, ecx
je 0x2245a4f
mov edx, dword [eax + 0xa8]
add edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x48]
push edx
push ecx
push eax
call fcn.02245080
add esp, 0x10
jmp 0x2245a7b
mov edi, dword [eax + 0xa8]
mov ecx, dword [eax + 0x88]
mov edx, dword [esp + 0x40]
mov esi, dword [edx]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
add edi, eax
mov eax, ecx
shr ecx, 2
add esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
add esi, 0x428
add ecx, 0x64
add ebx, 0xc8
add ebp, 0x120
dec eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], eax
jne 0x2245a20
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
push edx
call fcn.02247590
mov esi, eax
add esp, 8
test esi, esi
jne 0x2245b0a
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], eax
jge 0x2245b0a
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push edi
call fcn.02244d00
mov ecx, dword [esp + 0x3c]
mov eax, edi
add esp, 0x1c
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
inc edx
inc ecx
test esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ecx
je 0x22457d0
jmp 0x2245b2b
mov esi, 0x45f
mov eax, dword [esp + 0x38]
test eax, eax
je 0x2245b3c
push eax
call fcn.0226affd
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x2245b5d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
push edx
push eax
push 3
push ecx
call fcn.0222cfe0
add esp, 0x10
mov edx, dword [esp + 0x24]
push edx
call fcn.02260220
mov eax, dword [esp + 0x14]
push eax
call fcn.0226affd
mov eax, dword [esp + 0x54]
add esp, 8
test eax, eax
je 0x2245b85
push eax
call fcn.0226affd
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x2245b96
push eax
call fcn.0226affd
add esp, 4
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0226affd
mov edx, dword [esp + 0x20]
push edx
call fcn.0226affd
mov eax, dword [esp + 0x28]
push eax
call fcn.0226affd
add esp, 0xc
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x54
ret