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

Disassembly:
push 0xffffffffffffffff
push 0x5e98fa
mov eax, dword fs:[0]
push eax
mov eax, 0x10794
call fcn.005bc9e0
mov eax, dword [0x65fde0]
xor eax, esp
mov dword [esp + 0x10790], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0x107a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x107b8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
xor esi, esi
mov dword [esp + 0x107b0], esi
lea eax, [esp + 0x7c]
call fcn.00411f00
mov eax, dword [esp + 0x107f4]
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x107e0]
mov byte [esp + 0x107b8], 2
call fcn.00408c50
push eax
push SysReAllocString
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x476b08
mov eax, dword [esp + 0x18]
push esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
push esi
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.0042c890
add esp, 0x28
cmp dword [esp + 0x24], esi
je 0x476afb
call fcn.00439430
test eax, eax
je 0x476348
call fcn.004b80a0
push 0x206
lea edx, [esp + 0x3a2]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x3a8], cx
call fcn.005baaa0
add esp, 0xc
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x40], esi
cmp dword [esp + 0x24], esi
jbe 0x476afb
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5ac]
push ecx
push esi
push edx
mov dword [esp + 0x30], 0xff
call fcn.0042d400
add esp, 0x14
test eax, eax
jne 0x476aec
lea esi, [esp + 0x5a4]
lea eax, [esp + 0xd0]
call fcn.004069b0
mov bl, 3
lea ecx, [esp + 0x68]
lea eax, [esp + 0xd0]
mov byte [esp + 0x107b0], bl
call fcn.0046b040
mov esi, eax
lea eax, [esp + 0x78]
lea edi, [esp + 0xd0]
call fcn.00411610
mov edi, eax
lea ecx, [esp + 0x70]
lea eax, [esp + 0xd0]
call fcn.0046b040
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push fcn.005b8b69
push ecx
push edx
push eax
lea esi, [esp + 0x74]
call fcn.0046c1b0
push 0x62a230
lea ecx, [esp + 0x68]
call fcn.00419700
add esp, 0x14
mov ecx, eax
mov byte [esp + 0x107b0], 4
call fcn.0040a620
push eax
lea eax, [esp + 0xd4]
call fcn.00408c50
push eax
call fcn.0042d480
add esp, 8
lea ecx, [esp + 0x54]
mov byte [esp + 0x107b0], bl
call fcn.0040a610
lea eax, [esp + 0x107d8]
lea edi, [esp + 0x7c]
call fcn.00411ec0
mov esi, 0x61abd0
mov eax, edi
call fcn.004114d0
lea esi, [esp + 0x5a4]
lea eax, [esp + 0x98]
call fcn.004069b0
push 0x62a24c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x107b4], 5
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x107b0], 6
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0x98]
call fcn.004114d0
lea ecx, [esp + 0x58]
mov byte [esp + 0x107b0], 5
call fcn.0040a610
lea eax, [esp + 0x98]
mov ecx, edi
call fcn.00411940
lea ecx, [esp + 0x14]
push ecx
push 0x20019
lea eax, [esp + 0xa0]
call fcn.00408c50
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x4767df
mov edx, dword [esp + 0x14]
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push edx
call fcn.0042c890
mov eax, dword [esp + 0x50]
add esp, 0x28
test eax, eax
je 0x4767d2
xor ebp, ebp
test eax, eax
je 0x4767d2
mov edi, edi
push 0xff
lea eax, [esp + 0x1a0]
push 0
push eax
mov dword [esp + 0x28], 0xff
call fcn.005baaa0
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1b0]
push edx
push ebp
push eax
call fcn.0042d400
add esp, 0x20
test eax, eax
jne 0x4767c7
lea esi, [esp + 0x19c]
lea eax, [esp + 0x180]
mov dword [esp + 0x20], 0x104
call fcn.004069b0
lea ecx, [esp + 0x3c]
push ecx
mov bl, 7
push 0x20019
lea eax, [esp + 0x188]
mov byte [esp + 0x107b8], bl
call fcn.00408c50
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x4767b3
push 0x104
push eax
lea eax, [esp + 0x3a4]
push eax
call fcn.005baaa0
push 0x62a260
lea ecx, [esp + 0x60]
call fcn.00419700
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3a0]
push edx
push 0
mov ecx, eax
mov byte [esp + 0x107bc], 8
call fcn.0040a620
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042d4e0
add esp, 0x14
lea ecx, [esp + 0x50]
mov esi, eax
mov byte [esp + 0x107b0], bl
call fcn.0040a610
test esi, esi
jne 0x4767a6
mov edi, dword [esp + 0x2c]
push 0x7fff
lea ecx, [esp + 0x7a8]
push ecx
lea ecx, [esp + 0x3a4]
mov edx, edi
call fcn.00483080
test eax, eax
je 0x4767a6
lea esi, [esp + 0x7a4]
lea eax, [esp + 0xb4]
call fcn.004069b0
lea eax, [esp + 0xb4]
mov byte [esp + 0x107b0], 9
call fcn.00408c50
mov edx, eax
mov ecx, edi
call fcn.00471f10
test eax, eax
jne 0x476793
lea ecx, [esp + 0xb4]
call fcn.00424440
test al, al
jne 0x476793
lea esi, [esp + 0xec]
call fcn.0046eab0
mov bl, 0xa
push 0x628c3c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x107b4], bl
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x107b0], 0xb
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0xec]
call fcn.004114c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x107b0], bl
call fcn.0040a610
lea eax, [esp + 0x107bc]
lea edi, [esp + 0x140]
mov dword [esp + 0x15c], VariantInit
call fcn.00411ec0
mov esi, 0x61abd0
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x7c]
mov ecx, edi
call fcn.00411940
mov eax, edi
call fcn.004114d0
lea esi, [esp + 0x19c]
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x7c]
lea edi, [esp + 0x108]
call fcn.00411ec0
lea esi, [esp + 0x7a4]
lea eax, [esp + 0x124]
call fcn.004114c0
lea eax, [esp + 0x160]
call fcn.004114c0
mov ecx, dword [esp + 0x30]
lea ebx, [esp + 0xec]
call fcn.004838a0
mov esi, ebx
call fcn.0045d860
mov bl, 7
lea edi, [esp + 0xb4]
mov byte [esp + 0x107b0], bl
call fcn.00406490
mov edx, dword [esp + 0x3c]
push edx
call fcn.00431490
add esp, 4
lea edi, [esp + 0x180]
mov byte [esp + 0x107b0], 5
call fcn.00406490
inc ebp
cmp ebp, dword [esp + 0x28]
jb 0x476540
mov eax, dword [esp + 0x14]
push eax
call fcn.00431490
add esp, 4
lea eax, [esp + 0x107d8]
lea edi, [esp + 0x7c]
call fcn.00411ec0
mov esi, 0x61abd0
mov eax, edi
call fcn.004114d0
lea esi, [esp + 0x5a4]
lea eax, [esp + 0x98]
call fcn.004114c0
push 0x62a274
lea ecx, [esp + 0x50]
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x107b0], 0xc
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0x98]
call fcn.004114d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x107b0], 5
call fcn.0040a610
lea eax, [esp + 0x98]
mov ecx, edi
call fcn.00411940
lea ecx, [esp + 0x14]
push ecx
push 0x20019
lea eax, [esp + 0xa0]
call fcn.00408c50
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x476ac8
mov edx, dword [esp + 0x14]
push eax
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 0
push 0
push 0
push edx
call fcn.0042c890
mov eax, dword [esp + 0x60]
add esp, 0x28
test eax, eax
je 0x476abb
xor ebp, ebp
test eax, eax
je 0x476abb
lea eax, [esp + 0x44]
push eax
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1ac]
push eax
push ebp
mov esi, 1
push ecx
mov dword [esp + 0x38], 0xff
mov dword [esp + 0x50], esi
mov dword [esp + 0x60], 0x3e8
call fcn.0042ea80
add esp, 0x1c
test eax, eax
jne 0x476ab0
cmp dword [esp + 0x34], esi
jne 0x476ab0
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x3a0]
push eax
push 0
lea ecx, [esp + 0x1a8]
push ecx
push edx
mov dword [esp + 0x34], 0x104
call fcn.0042d4e0
add esp, 0x14
test eax, eax
jne 0x476ab0
mov edi, dword [esp + 0x2c]
push 0x7fff
lea eax, [esp + 0x7a8]
push eax
lea ecx, [esp + 0x3a4]
mov edx, edi
call fcn.00483080
test eax, eax
je 0x476ab0
lea esi, [esp + 0x7a4]
lea eax, [esp + 0xb4]
call fcn.004069b0
lea eax, [esp + 0xb4]
mov byte [esp + 0x107b0], 0xd
call fcn.00408c50
mov edx, eax
mov ecx, edi
call fcn.00471f10
test eax, eax
jne 0x476a9c
lea ecx, [esp + 0xb4]
call fcn.00424440
test al, al
jne 0x476a9c
lea esi, [esp + 0xec]
call fcn.0046eab0
mov bl, 0xe
push 0x628c3c
lea ecx, [esp + 0x60]
mov byte [esp + 0x107b4], bl
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x107b0], 0xf
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0xec]
call fcn.004114c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x107b0], bl
call fcn.0040a610
lea eax, [esp + 0x107bc]
lea edi, [esp + 0x140]
mov dword [esp + 0x15c], VariantInit
call fcn.00411ec0
mov esi, 0x61abd0
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x7c]
mov ecx, edi
call fcn.00411940
mov eax, edi
call fcn.004114d0
lea esi, [esp + 0x19c]
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x7c]
lea edi, [esp + 0x108]
call fcn.00411ec0
lea esi, [esp + 0x7a4]
lea eax, [esp + 0x124]
call fcn.004114c0
lea eax, [esp + 0x160]
call fcn.004114c0
mov ecx, dword [esp + 0x30]
lea ebx, [esp + 0xec]
call fcn.004838a0
mov esi, ebx
call fcn.0045d860
lea edi, [esp + 0xb4]
mov byte [esp + 0x107b0], 5
call fcn.00406490
inc ebp
cmp ebp, dword [esp + 0x38]
jb 0x4768c0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00431490
add esp, 4
lea edi, [esp + 0x98]
call fcn.00406490
lea edi, [esp + 0xd0]
mov byte [esp + 0x107b0], 2
call fcn.00406490
mov esi, dword [esp + 0x40]
inc esi
mov dword [esp + 0x40], esi
cmp esi, dword [esp + 0x24]
jb 0x47637e
mov edx, dword [esp + 0x18]
push edx
call fcn.00431490
add esp, 4
lea edi, [esp + 0x7c]
call fcn.00406490
lea edi, [esp + 0x107bc]
call fcn.00406490
lea edi, [esp + 0x107d8]
call fcn.00406490
mov ecx, dword [esp + 0x107a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10790]
xor ecx, esp
call fcn.005b6c8b
add esp, 0x107a0
ret 0x40