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

Disassembly:
push 0xffffffffffffffff
push 0x476d24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edi
cmp dword [edi + 0x10], 1
jne 0x420f3e
mov eax, 8
mov dword [esp + 0x2c], 0x1f0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 4
jmp 0x420f57
mov eax, 0x10
mov dword [esp + 0x2c], 0x1e8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 8
mov esi, dword [esp + 0x294]
mov ecx, dword [esp + 0x2a0]
mov edx, dword [esp + 0x290]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x29c]
push 0
push 0
push esi
mov dword [eax], 0
push edx
mov dword [esp + 0x30], esi
mov word [ecx], 0
call dword [0x4f41a4]
cmp eax, esi
jne 0x421074
mov edx, dword [esp + 0x290]
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x78]
push 0x200
push ecx
push edx
call dword [0x4f41b0]
test eax, eax
je 0x421281
cmp dword [esp + 0x34], 0x200
jne 0x42149b
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x260]
xor eax, eax
xor ebx, ebx
mov al, byte [esp + ecx + 0x72]
xor edi, edi
mov ebp, eax
xor eax, eax
xor esi, esi
and edx, 0xff
jle 0x421863
mov ecx, dword [esp + eax + 0x70]
cmp ecx, dword [esp + 0x298]
ja 0x421016
test ecx, ecx
je 0x421016
cmp ecx, edi
je 0x42100f
mov edi, ecx
mov ebx, eax
add eax, ebp
inc esi
cmp esi, edx
jl 0x420ff6
cmp eax, 0x200
je 0x4216b5
test eax, eax
jne 0x42102d
test edi, edi
je 0x421863
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + ecx + 0x73]
test al, al
je 0x421049
mov edx, dword [esp + 0x1c]
add edx, ebx
mov esi, dword [esp + edx + 0x70]
mov dword [esp + 0x20], esi
jmp 0x42104d
mov esi, dword [esp + 0x20]
test al, al
je 0x421a11
mov eax, dword [esp + 0x290]
push 0
push 0
push esi
push eax
call dword [0x4f41a4]
mov edi, dword [esp + 0x10]
cmp eax, esi
je 0x420f9a
call dword [fcn.004f4168]
mov ecx, dword [0x49aec0]
mov esi, eax
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x14]
xor ebp, ebp
push 0x5335
push edx
mov dword [esp + 0x290], ebp
call fcn.0042c630
mov ecx, dword [edi + 0x18]
mov eax, dword [eax]
push ebp
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x2a0], 1
call fcn.004644af
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 0
call fcn.00466492
mov eax, dword [esp + 0x10]
mov edi, 5
push esi
cmp dword [eax - 8], ebp
jne 0x42110d
lea ecx, [esp + 0x28]
push ecx
call fcn.0042c540
mov ebx, 1
mov dword [esp + 0x20], ebx
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push 0x498ca4
push eax
mov byte [esp + 0x29c], 4
call fcn.004644af
add esp, 0x14
jmp 0x421153
lea ecx, [esp + 0x34]
push ecx
call fcn.0042c540
add esp, 8
mov dword [esp + 0x18], 2
push eax
lea edx, [esp + 0x18]
push 0x498ca0
push edx
mov dword [esp + 0x294], edi
call fcn.0046679b
mov ebx, 6
mov dword [esp + 0x18], ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x28c], ebx
call fcn.004668aa
test bl, 4
mov dword [esp + 0x288], edi
je 0x42116f
and ebx, 0xfffffffb
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.00466492
test bl, 2
mov dword [esp + 0x288], 4
je 0x42118f
and ebx, 0xfffffffd
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00466492
test bl, 1
mov dword [esp + 0x288], ebp
je 0x4211a4
lea ecx, [esp + 0x24]
call fcn.00466492
mov eax, dword [0x49a15c]
push ebp
push 0x498b18
push 0x498b18
push ebp
push eax
call fcn.00442cf7
add esp, 0x14
test eax, eax
jne 0x4211d8
mov ecx, dword [0x49a15c]
mov dword [0x49a15c], 0x49e1e0
mov dword [0x49e210], ecx
push 0x498b0c
lea ecx, [esp + 0x20]
call fcn.00466500
mov bl, 7
push 0x499a3c
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], bl
call fcn.00466500
mov ecx, dword [0x49a15c]
push ebp
push esi
lea edx, [esp + 0x24]
push 0x1fa
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x29c], 8
call fcn.0042aae0
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], bl
call fcn.00466492
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 0
call fcn.00466492
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x49a15c]
call fcn.0042ab60
mov ecx, dword [0x49a15c]
call fcn.0042b5e0
mov ecx, dword [0x49a15c]
call fcn.0042ac40
lea ecx, [esp + 0x10]
mov dword [esp + 0x288], 0xffffffff
call fcn.00466492
jmp 0x421bfc
call dword [fcn.004f4168]
mov edx, dword [0x49aec0]
mov esi, eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0x14]
mov ebp, 9
push 0x5335
push eax
mov dword [esp + 0x290], ebp
call fcn.0042c630
mov ecx, dword [edi + 0x18]
mov eax, dword [eax]
push 0
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x2a0], 0xa
call fcn.004644af
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 9
call fcn.00466492
mov eax, dword [esp + 0x10]
mov edi, 0xe
push esi
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x421320
lea ecx, [esp + 0x28]
push ecx
call fcn.0042c540
mov ebx, 8
mov dword [esp + 0x20], ebx
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push 0x498ca4
push eax
mov byte [esp + 0x29c], 0xd
call fcn.004644af
add esp, 0x14
jmp 0x42136a
lea ecx, [esp + 0x34]
push ecx
call fcn.0042c540
add esp, 8
mov dword [esp + 0x18], 0x10
push eax
lea edx, [esp + 0x18]
push 0x498ca0
push edx
mov dword [esp + 0x294], edi
call fcn.0046679b
mov ebx, 0x30
mov dword [esp + 0x18], ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x28c], 0xf
call fcn.004668aa
test bl, 0x20
mov dword [esp + 0x288], edi
je 0x421386
and ebx, 0xffffffdf
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.00466492
test bl, 0x10
mov dword [esp + 0x288], 0xd
je 0x4213a6
and ebx, 0xffffffef
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00466492
test bl, 8
mov dword [esp + 0x288], ebp
je 0x4213bb
lea ecx, [esp + 0x24]
call fcn.00466492
mov eax, dword [0x49a15c]
push 0
push 0x498b18
push 0x498b18
push 0
push eax
call fcn.00442cf7
add esp, 0x14
test eax, eax
jne 0x4213f1
mov ecx, dword [0x49a15c]
mov dword [0x49a15c], 0x49e1e0
mov dword [0x49e210], ecx
push 0x498b0c
lea ecx, [esp + 0x20]
call fcn.00466500
push 0x499a3c
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 0x10
call fcn.00466500
mov ecx, dword [0x49a15c]
push 0
push esi
lea edx, [esp + 0x24]
push 0x200
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x29c], 0x11
call fcn.0042aae0
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 0x10
call fcn.00466492
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 9
call fcn.00466492
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x49a15c]
call fcn.0042ab60
mov ecx, dword [0x49a15c]
call fcn.0042b5e0
mov ecx, dword [0x49a15c]
call fcn.0042ac40
lea ecx, [esp + 0x10]
mov dword [esp + 0x288], 0xffffffff
call fcn.00466492
jmp 0x421bfc
call dword [fcn.004f4168]
mov edx, dword [0x49aec0]
mov esi, eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0x14]
mov ebp, 0x12
push 0x5335
push eax
mov dword [esp + 0x290], ebp
call fcn.0042c630
mov ecx, dword [edi + 0x18]
mov eax, dword [eax]
push 0
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x2a0], 0x13
call fcn.004644af
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 0x12
call fcn.00466492
mov eax, dword [esp + 0x10]
mov edi, 0x17
push esi
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42153a
lea ecx, [esp + 0x28]
push ecx
call fcn.0042c540
mov ebx, 0x40
mov dword [esp + 0x20], ebx
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push 0x498ca4
push eax
mov byte [esp + 0x29c], 0x16
call fcn.004644af
add esp, 0x14
jmp 0x421584
lea ecx, [esp + 0x34]
push ecx
call fcn.0042c540
add esp, 8
mov dword [esp + 0x18], 0x80
push eax
lea edx, [esp + 0x18]
push 0x498ca0
push edx
mov dword [esp + 0x294], edi
call fcn.0046679b
mov ebx, 0x180
mov dword [esp + 0x18], ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x28c], 0x18
call fcn.004668aa
test bh, 1
mov dword [esp + 0x288], edi
je 0x4215a0
and bh, 0xfe
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.00466492
test bl, 0x80
mov dword [esp + 0x288], 0x16
je 0x4215c0
and bl, 0x7f
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00466492
test bl, 0x40
mov dword [esp + 0x288], ebp
je 0x4215d5
lea ecx, [esp + 0x24]
call fcn.00466492
mov eax, dword [0x49a15c]
push 0
push 0x498b18
push 0x498b18
push 0
push eax
call fcn.00442cf7
add esp, 0x14
test eax, eax
jne 0x42160b
mov ecx, dword [0x49a15c]
mov dword [0x49a15c], 0x49e1e0
mov dword [0x49e210], ecx
push 0x498b0c
lea ecx, [esp + 0x20]
call fcn.00466500
mov bl, 0x19
push 0x499a3c
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], bl
call fcn.00466500
mov ecx, dword [0x49a15c]
push 0
push esi
lea edx, [esp + 0x24]
push 0x206
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x29c], 0x1a
call fcn.0042aae0
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], bl
call fcn.00466492
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 0x12
call fcn.00466492
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x49a15c]
call fcn.0042ab60
mov ecx, dword [0x49a15c]
call fcn.0042b5e0
mov ecx, dword [0x49a15c]
call fcn.0042ac40
lea ecx, [esp + 0x10]
mov dword [esp + 0x288], 0xffffffff
call fcn.00466492
jmp 0x421bfc
push 0x49dd08
lea ecx, [esp + 0x20]
call fcn.00466552
push 0x49dd08
lea ecx, [esp + 0x24]
mov dword [esp + 0x28c], 0x1b
call fcn.00466552
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push 0x46
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x29c], 0x1c
call fcn.0042f7a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 0x1f
call fcn.00466492
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 0x1e
call fcn.00466492
mov ecx, dword [0x49aec0]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x14]
mov bl, 0x20
push 0x533b
push edx
mov byte [esp + 0x290], bl
call fcn.0042c630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push 0
mov byte [esp + 0x294], 0x21
mov edx, dword [ecx + 0x18]
push edx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004644af
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call fcn.00466492
mov ecx, dword [0x49a15c]
push 0
push 0x498b18
push 0x498b18
push 0
push ecx
call fcn.00442cf7
add esp, 0x14
test eax, eax
jne 0x4217aa
mov edx, dword [0x49a15c]
mov dword [0x49a15c], 0x49e1e0
mov dword [0x49e210], edx
push 0x498b0c
lea ecx, [esp + 0x2c]
call fcn.00466500
push 0x499a3c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], 0x24
call fcn.00466500
push 0
push 0x533b
lea eax, [esp + 0x30]
push 0x220
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [0x49a15c]
mov byte [esp + 0x29c], 0x25
call fcn.0042aae0
lea ecx, [esp + 0x10]
mov byte [esp + 0x288], 0x24
call fcn.00466492
lea ecx, [esp + 0x28]
mov byte [esp + 0x288], bl
call fcn.00466492
mov ecx, dword [0x49a15c]
lea edx, [esp + 0x2c]
push edx
call fcn.0042ab60
mov ecx, dword [0x49a15c]
call fcn.0042b5e0
mov ecx, dword [0x49a15c]
call fcn.0042ac40
lea ecx, [esp + 0x2c]
mov byte [esp + 0x288], 0x1e
call fcn.00466492
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x38]
jmp 0x421bf7
push 0x49dd08
lea ecx, [esp + 0x24]
call fcn.00466552
push 0x49dd08
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28c], 0x26
call fcn.00466552
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0x46
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x29c], 0x27
call fcn.0042f7a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x288], 0x2a
call fcn.00466492
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 0x29
call fcn.00466492
mov edx, dword [0x49aec0]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x14]
mov bl, 0x2b
push 0x533b
push eax
mov byte [esp + 0x290], bl
call fcn.0042c630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push 0
mov byte [esp + 0x294], 0x2c
mov edx, dword [ecx + 0x18]
push edx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004644af
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call fcn.00466492
mov ecx, dword [0x49a15c]
push 0
push 0x498b18
push 0x498b18
push 0
push ecx
call fcn.00442cf7
add esp, 0x14
test eax, eax
jne 0x421958
mov edx, dword [0x49a15c]
mov dword [0x49a15c], 0x49e1e0
mov dword [0x49e210], edx
push 0x498b0c
lea ecx, [esp + 0x14]
call fcn.00466500
push 0x499a3c
lea ecx, [esp + 0x20]
mov byte [esp + 0x28c], 0x2f
call fcn.00466500
push 0
push 0x533b
lea eax, [esp + 0x18]
push 0x228
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [0x49a15c]
mov byte [esp + 0x29c], 0x30
call fcn.0042aae0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 0x2f
call fcn.00466492
lea ecx, [esp + 0x10]
mov byte [esp + 0x288], bl
call fcn.00466492
mov ecx, dword [0x49a15c]
lea edx, [esp + 0x2c]
push edx
call fcn.0042ab60
mov ecx, dword [0x49a15c]
call fcn.0042b5e0
mov ecx, dword [0x49a15c]
call fcn.0042ac40
lea ecx, [esp + 0x2c]
mov byte [esp + 0x288], 0x29
call fcn.00466492
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x38]
jmp 0x421bf7
mov al, byte [esp + ecx + 0x73]
test al, al
jne 0x421a50
test edi, edi
je 0x421a50
mov eax, dword [esp + 0x28]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x29c]
mov edx, dword [esp + ecx + 0x70]
mov ecx, dword [esp + 0x24]
add ebx, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x2a0]
mov dx, word [esp + ebx + 0x70]
mov word [eax], dx
mov eax, 1
jmp 0x421bfe
push 0x49dd08
lea ecx, [esp + 0x2c]
call fcn.00466552
push 0x49dd08
lea ecx, [esp + 0x28]
mov dword [esp + 0x28c], 0x31
call fcn.00466552
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push 0x46
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x29c], 0x32
call fcn.0042f7a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 0x35
call fcn.00466492
lea ecx, [esp + 0x28]
mov byte [esp + 0x288], 0x34
call fcn.00466492
mov eax, dword [0x49aec0]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
mov bl, 0x36
push 0x533b
push ecx
mov byte [esp + 0x290], bl
call fcn.0042c630
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push 0
mov byte [esp + 0x294], 0x37
mov ecx, dword [edx + 0x18]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call fcn.004644af
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call fcn.00466492
mov eax, dword [0x49a15c]
push 0
push 0x498b18
push 0x498b18
push 0
push eax
call fcn.00442cf7
add esp, 0x14
test eax, eax
jne 0x421b43
mov ecx, dword [0x49a15c]
mov dword [0x49a15c], 0x49e1e0
mov dword [0x49e210], ecx
push 0x498b0c
lea ecx, [esp + 0x18]
call fcn.00466500
push 0x499a3c
lea ecx, [esp + 0x34]
mov byte [esp + 0x28c], 0x3a
call fcn.00466500
mov ecx, dword [0x49a15c]
push 0
push 0x533b
lea edx, [esp + 0x1c]
push 0x23e
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x29c], 0x3b
call fcn.0042aae0
lea ecx, [esp + 0x30]
mov byte [esp + 0x288], 0x3a
call fcn.00466492
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call fcn.00466492
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x49a15c]
call fcn.0042ab60
mov ecx, dword [0x49a15c]
call fcn.0042b5e0
mov ecx, dword [0x49a15c]
call fcn.0042ac40
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0x34
call fcn.00466492
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.0042f8b0
xor eax, eax
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x27c
ret 0x14