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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a1379
push eax
mov eax, 0x4e2c
mov dword fs:[0], esp
call fcn.0049d700
push ebx
mov ebx, dword [esp + 0x4e40]
push esi
mov esi, ecx
push edi
mov ecx, ebx
call fcn.0049ce4a
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xb0]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x34], eax
call fcn.00498b50
add esp, 4
lea edx, [esp + 0x20]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push 1
push edx
push eax
lea edx, [esp + 0x30]
push ecx
push edx
push 0xc378
push ebx
mov ecx, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x34
call fcn.0041cfc0
test eax, eax
je 0x423000
mov edx, dword [esp + 0x20]
test edx, edx
je 0x422ff3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x422ff3
mov ecx, 0x56
mov esi, edx
mov edi, 0x4d8310
lea ebx, [edx + 0x158]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xdd
mov esi, ebx
mov edi, 0x4d8468
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1300
lea edi, [esp + 0x238]
rep stosd dword es:[edi], eax
mov ecx, dword [edx]
add ebx, 0x374
push ebp
mov dword [esp + 0x14], edx
test ecx, ecx
mov dword [esp + 0x18], ebx
mov ebp, ebx
jle 0x42277f
lea ecx, [esp + 0x23c]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x10]
mov ecx, 0x13
mov esi, ebp
add ebp, 0x4c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [edx]
inc eax
add esi, 0x4c
cmp eax, ecx
mov dword [esp + 0x10], esi
jl 0x42275d
mov edx, dword [edx]
push 0x40e020
push 0x4c
lea eax, [esp + 0x244]
push edx
push eax
call dword [0x4acd44]
mov ecx, dword [esp + 0x24]
mov ebp, dword [0x4ac150]
add esp, 0x10
mov dword [esp + 0x10], 0
cmp dword [ecx], 0
jle 0x4228d7
mov ebx, dword [esp + 0x4e50]
lea esi, [esp + 0x240]
mov dword [esp + 0x1c], esi
jmp 0x4227cd
mov esi, dword [esp + 0x1c]
mov edx, dword [esi - 4]
mov ecx, 0x62
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [esp + 0x68], edx
lea ecx, [esi + 8]
push 0x20
lea edx, [esp + 0xf4]
push ecx
push edx
mov dword [esp + 0x78], eax
call ebp
add esi, 0x28
push 0x20
lea eax, [esp + 0x114]
push esi
push eax
call ebp
push 0x40
lea ecx, [esp + 0x134]
push 0x4d868c
push ecx
call ebp
push 0x40
lea edx, [esp + 0x174]
push 0x4d854c
push edx
call ebp
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
test eax, eax
jne 0x42286e
mov eax, dword [ebx + 0x18]
push 0x190
lea ecx, [ebx + 0x14]
push eax
push ecx
call fcn.0049cb26
mov ecx, dword [ebx + 0x18]
lea edx, [ecx + ecx*4]
lea edx, [edx + edx*4]
shl edx, 4
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x18c]
jl 0x42286e
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x190
dec ecx
jne 0x42285e
mov edx, dword [ebx + 0x10]
mov ecx, 0x62
mov eax, dword [edx]
lea edi, [edx + 8]
mov dword [ebx + 0x10], eax
mov dword [edx + 4], esi
mov dword [edx], 0
mov esi, dword [ebx + 0xc]
inc esi
xor eax, eax
mov dword [ebx + 0xc], esi
lea esi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, 0x62
lea edi, [edx + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
test eax, eax
je 0x4228ab
mov dword [eax], edx
jmp 0x4228ae
mov dword [ebx + 4], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov dword [ebx + 8], edx
mov edx, dword [ecx]
inc eax
add esi, 0x4c
cmp eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], esi
jl 0x4227c9
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea ecx, [ebx + eax*4]
mov eax, dword [edx + 4]
test eax, eax
mov dword [esp + 0x18], ecx
jle 0x422a1e
mov ebx, dword [esp + 0x4e54]
lea esi, [ecx + 0xc]
mov dword [esp + 0x1c], esi
jmp 0x422917
mov esi, dword [esp + 0x1c]
mov ebp, dword [0x4ac150]
mov edx, dword [esi - 8]
mov ecx, 0x62
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, dword [esi - 0xc]
push 0x20
lea eax, [esp + 0xf4]
push esi
push eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
call ebp
add esi, 0x20
push 0x20
lea ecx, [esp + 0x114]
push esi
push ecx
call ebp
push 0x40
lea edx, [esp + 0x134]
push 0x4d850c
push edx
call ebp
push 0x40
lea eax, [esp + 0x174]
push 0x4d854c
push eax
call ebp
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
test eax, eax
jne 0x4229b6
mov ecx, dword [ebx + 0x18]
push 0x190
lea edx, [ebx + 0x14]
push ecx
push edx
call fcn.0049cb26
mov ecx, dword [ebx + 0x18]
lea edx, [ecx + ecx*4]
lea edx, [edx + edx*4]
shl edx, 4
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x18c]
jl 0x4229b6
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x190
dec ecx
jne 0x4229a6
mov ebp, dword [ebx + 0x10]
push 1
mov eax, dword [ebp]
mov dword [ebx + 0x10], eax
mov dword [ebp + 4], esi
mov dword [ebp], 0
mov edi, dword [ebx + 0xc]
inc edi
mov dword [ebx + 0xc], edi
lea edi, [ebp + 8]
push edi
call fcn.00426040
mov ecx, 0x62
lea esi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
test eax, eax
je 0x4229f1
mov dword [eax], ebp
jmp 0x4229f4
mov dword [ebx + 4], ebp
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [ebx + 8], ebp
mov edx, dword [ecx + 4]
add edi, 0x4c
inc eax
mov dword [esp + 0x1c], edi
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x42290d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov eax, dword [edx + 4]
lea esi, [eax + eax*8]
lea eax, [eax + esi*2]
lea ebp, [ecx + eax*4]
mov eax, dword [edx + 8]
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x422ad8
mov ebx, dword [esp + 0x4e58]
mov edi, dword [ebp]
mov ecx, dword [ebx + 8]
mov eax, edi
xor edx, edx
shr eax, 4
div ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
mov esi, edx
je 0x422a80
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x422a7c
cmp dword [eax + 8], edi
je 0x422a78
mov eax, dword [eax]
test eax, eax
jne 0x422a6b
jmp 0x422a7c
test eax, eax
jne 0x422aab
test ecx, ecx
jne 0x422a8d
mov eax, dword [ebx + 8]
push 1
push eax
mov ecx, ebx
call fcn.00415bb0
mov ecx, ebx
call fcn.00425e50
mov dword [eax + 4], esi
mov ecx, dword [ebp]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [edx + esi*4], eax
lea edi, [eax + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, 0x15
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
add ebp, 0x54
inc eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x422a4c
mov ebp, dword [esp + 0x18]
mov edx, ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x10], 0
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea esi, [ebp + eax*4]
mov eax, dword [edx + 0xc]
test eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jle 0x422bd4
mov ebx, dword [esp + 0x4e5c]
push 0x208
call fcn.0049c9be
add esp, 4
mov dword [esp + 0x30], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x4e44], esi
je 0x422b34
mov ecx, eax
call fcn.00434ac0
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4e44], 0xffffffff
push ecx
mov ecx, esi
call fcn.00434cf0
mov edi, dword [esi + 4]
mov ecx, dword [ebx + 8]
mov eax, edi
xor edx, edx
shr eax, 4
div ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
mov ebp, edx
je 0x422b7f
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x422b7b
cmp dword [eax + 8], edi
je 0x422b77
mov eax, dword [eax]
test eax, eax
jne 0x422b6a
jmp 0x422b7b
test eax, eax
jne 0x422baa
test ecx, ecx
jne 0x422b8c
mov eax, dword [ebx + 8]
push 1
push eax
mov ecx, ebx
call fcn.00415bb0
mov ecx, ebx
call fcn.00433320
mov dword [eax + 4], ebp
mov edx, dword [esi + 4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + ebp*4]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4], eax
mov edx, dword [esp + 0x14]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0xc]
add esi, 0x68
inc eax
mov dword [esp + 0x1c], esi
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x422b0d
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov eax, dword [ecx + 0xc]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
lea ebp, [esi + eax*8]
mov eax, dword [ecx + 0x10]
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x422c8f
mov ebx, dword [esp + 0x4e60]
mov edi, dword [ebp]
mov ecx, dword [ebx + 8]
mov eax, edi
xor edx, edx
shr eax, 4
div ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
mov esi, edx
je 0x422c36
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x422c32
cmp dword [eax + 8], edi
je 0x422c2e
mov eax, dword [eax]
test eax, eax
jne 0x422c21
jmp 0x422c32
test eax, eax
jne 0x422c61
test ecx, ecx
jne 0x422c43
mov eax, dword [ebx + 8]
push 1
push eax
mov ecx, ebx
call fcn.00415bb0
mov ecx, ebx
call fcn.00425ec0
mov dword [eax + 4], esi
mov ecx, dword [ebp]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [edx + esi*4], eax
lea edi, [eax + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, 0x61
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
add ebp, 0x184
inc eax
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x422c02
mov ebp, dword [esp + 0x18]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x10], 0
lea edx, [eax + eax*2]
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
lea ebp, [ebp + edx*4]
mov dword [esp + 0x18], ebp
jle 0x422d4a
mov ebx, dword [esp + 0x4e64]
add ebp, 4
mov edi, dword [ebp]
mov ecx, dword [ebx + 8]
mov eax, edi
xor edx, edx
shr eax, 4
div ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
mov esi, edx
je 0x422cf3
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x422cef
cmp dword [eax + 8], edi
je 0x422ceb
mov eax, dword [eax]
test eax, eax
jne 0x422cde
jmp 0x422cef
test eax, eax
jne 0x422d1e
test ecx, ecx
jne 0x422d00
mov eax, dword [ebx + 8]
push 1
push eax
mov ecx, ebx
call fcn.00415bb0
mov ecx, ebx
call fcn.00425f30
mov dword [eax + 4], esi
mov ecx, dword [ebp]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [edx + esi*4], eax
lea esi, [ebp - 4]
lea edi, [eax + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
add ebp, 0x7c
inc eax
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x422cbf
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov eax, dword [edi + 0x18]
mov edx, eax
shl edx, 5
sub edx, eax
mov eax, dword [edi + 0x148]
test eax, eax
lea ebp, [ebp + edx*4]
mov dword [esp + 0x18], ebp
jle 0x422e0c
mov ebx, dword [esp + 0x4e68]
mov edi, dword [ebp]
mov ecx, dword [ebx + 8]
mov eax, edi
xor edx, edx
shr eax, 4
div ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
mov esi, edx
je 0x422db1
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x422dad
cmp dword [eax + 8], edi
je 0x422da9
mov eax, dword [eax]
test eax, eax
jne 0x422d9c
jmp 0x422dad
test eax, eax
jne 0x422ddc
test ecx, ecx
jne 0x422dbe
mov eax, dword [ebx + 8]
push 1
push eax
mov ecx, ebx
call fcn.00415bb0
mov ecx, ebx
call fcn.00425fa0
mov dword [eax + 4], esi
mov ecx, dword [ebp]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [edx + esi*4], eax
lea edi, [eax + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, 0x13
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
add ebp, 0x4c
inc eax
mov edx, dword [ecx + 0x148]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x422d7d
mov ebp, dword [esp + 0x18]
mov edi, ecx
mov eax, dword [edi + 0x148]
lea ecx, [esp + 0x20]
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
lea esi, [ebp + eax*4]
call fcn.0049c994
push esi
lea ecx, [esp + 0x24]
push 0x4cb518
push ecx
mov dword [esp + 0x4e50], 1
call fcn.0049c98e
mov eax, dword [edi + 0x14]
xor esi, esi
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x10], esi
jle 0x422fbe
mov ebx, dword [esp + 0x4e6c]
push esi
push 0x7c
lea ecx, [esp + 0x28]
call fcn.0049ceec
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x422fbe
mov edx, dword [esp + 0x1c]
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x1f0]
sub edx, esi
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.0049cee6
mov eax, dword [eax]
lea ecx, [esp + 0x200]
push eax
push ecx
call dword [0x4ac144]
lea ecx, [esp + 0x18]
call fcn.0049c982
mov eax, dword [esp + 0x10]
mov esi, dword [ebx + 8]
shr eax, 4
xor edx, edx
mov ecx, dword [ebx + 4]
div esi
test ecx, ecx
mov ebp, edx
je 0x422eef
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x422eeb
mov edx, dword [esp + 0x10]
cmp dword [eax + 8], edx
je 0x422ee3
mov eax, dword [eax]
test eax, eax
jne 0x422ed6
jmp 0x422eeb
test eax, eax
jne 0x422f90
test ecx, ecx
jne 0x422f1b
lea edi, [esi*4]
push edi
call fcn.0049c9be
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 8], esi
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x422f52
mov eax, dword [ebx + 0x18]
push 0x58
lea ecx, [ebx + 0x14]
push eax
push ecx
call fcn.0049cb26
mov ecx, dword [ebx + 0x18]
lea edx, [ecx + ecx*4]
lea edx, [ecx + edx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x54]
jl 0x422f52
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x58
dec ecx
jne 0x422f44
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
inc ecx
push 1
mov eax, dword [esi]
lea edi, [esi + 8]
push edi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], ecx
call fcn.0043b8a0
lea ecx, [esi + 0xc]
push 1
push ecx
call fcn.004260a0
mov edx, dword [esp + 0x10]
mov dword [esi + 4], ebp
mov dword [edi], edx
mov ecx, dword [ebx + 4]
mov eax, esi
mov edx, dword [ecx + ebp*4]
mov dword [esi], edx
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4], esi
mov edx, dword [esp + 0x1c]
lea edi, [eax + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, 0x13
lea esi, [esp + 0x1f0]
inc eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0x14]
jl 0x422e5b
mov eax, dword [esp + 0x24]
pop ebp
test eax, eax
je 0x422fd8
push eax
call fcn.0049c964
add esp, 4
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4e40], 0xffffffff
call fcn.0049c982
mov eax, 1
jmp 0x423002
mov edx, dword [esp + 0x28]
mov ecx, esi
push edx
push ebx
call fcn.0041d420
xor eax, eax
mov ecx, dword [esp + 0x4e38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e38
ret 0x24