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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3fc
mov eax, dword [0x1008a418]
xor eax, esp
mov dword [esp + 0x3f8], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x3c], ecx
xor esi, esi
mov dword [esp + 0x1c], edi
mov ebx, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
push dword [edi + 0x10]
lea ecx, [edi + 0xb8]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x77b
call fcn.100645c1
mov ecx, dword [edi + 0x10]
call fcn.10033324
test eax, eax
je 0x1004b4b2
mov dword [esp + 0x2c], 0x787
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x1004b4d4
cmp dword [edi + 0xa4], esi
je 0x1004b4d4
mov dword [esp + 0x24], 1
cmp dword [edi + 0x98], esi
jne 0x1004b4d8
mov dword [esp + 0x24], esi
mov eax, dword [edi + 0x84]
add ecx, 9
push 0x24
add eax, ecx
push 0x40
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], 9
test eax, eax
je 0x1004bc8d
mov dword [esp + 0x20], esi
push 0x190
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
test eax, eax
je 0x1004bc8d
inc edx
mov dword [esp + 0x20], edx
cmp edx, 9
jl 0x1004b50d
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x28]
push eax
push 4
pop ecx
call fcn.1000f917
test eax, eax
js 0x1004bc8d
push dword [esp + 0x28]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
mov dword [esp + 0x14], edx
test edx, edx
je 0x1004bc8d
test dword [edi + 0x40], 0x2000
mov dword [esp + 0x60], esi
je 0x1004b625
cmp dword [esp + 0x24], ebx
jne 0x1004bcd1
mov ebx, dword [esp + 0x10]
mov eax, dword [0x1008b1e4]
push 0xc8
mov dword [esp + 0x7c], 0x38
mov dword [esp + 0x80], 8
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0x1777
mov dword [esp + 0x8c], esi
mov dword [esp + 0x94], 0x10051d50
push dword [ebx]
push 0x1140
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebx]
mov esi, dword [0x1008b9f4]
mov ecx, esi
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x94], edi
mov edi, esp
push eax
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004b60a
mov ecx, 4
int 0x29
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov edi, dword [esp + 0x1c]
xor esi, esi
test eax, eax
setne bl
mov dword [edx], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x24], 0
jne 0x1004bcd1
call fcn.1005d52d
test eax, eax
je 0x1004b63d
or dword [edi + 0x40], 8
mov eax, dword [edi + 0x40]
mov ecx, dword [0x1008b1e4]
and al, 8
movzx eax, al
neg eax
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0x10]
sbb eax, eax
mov dword [esp + 0xb0], 0x38
and eax, 0x1724
mov dword [esp + 0xb4], 8
push 0xc8
add eax, 0x72
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xcc], 0x1004e090
push dword [esi + 4]
push 0x116a
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 4]
mov esi, dword [0x1008b9f4]
mov ecx, esi
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xcc], edi
mov edi, esp
push eax
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004b6db
mov ecx, 4
int 0x29
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx*4], eax
test eax, eax
je 0x1004b6eb
inc ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x10]
mov eax, dword [0x1008b1e4]
and dword [esp + 0xf8], 0
push 0xc8
mov dword [esp + 0xec], 0x38
mov dword [esp + 0xf0], 8
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], 0x73
mov dword [esp + 0x104], 0x1004ebd0
push dword [esi + 8]
push 0xfb0
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 8]
mov edi, esp
mov esi, dword [0x1008b9f4]
mov ecx, esi
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x104], eax
lea eax, [esp + 0xe8]
push eax
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004b77d
mov ecx, 4
int 0x29
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx*4], eax
test eax, eax
je 0x1004b78d
inc ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x10]
mov eax, dword [0x1008b1e4]
and dword [esp + 0x130], 0
push 0xc8
mov dword [esp + 0x124], 0x38
mov dword [esp + 0x128], 8
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], 0x74
mov dword [esp + 0x13c], 0x1004ed30
push dword [esi + 0xc]
push 0xfb1
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 0xc]
mov edi, esp
mov esi, dword [0x1008b9f4]
mov ecx, esi
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x120]
push eax
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004b81f
mov ecx, 4
int 0x29
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx*4], eax
test eax, eax
je 0x1004b82f
inc ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x10]
mov eax, dword [0x1008b1e4]
and dword [esp + 0x248], 0
push 0xc8
mov dword [esp + 0x23c], 0x38
mov dword [esp + 0x240], 8
mov dword [esp + 0x244], eax
mov dword [esp + 0x248], 0x17b2
mov dword [esp + 0x254], 0x100534f0
push dword [esi + 0x20]
push 0xfaf
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 0x20]
mov edi, esp
mov esi, dword [0x1008b9f4]
mov ecx, esi
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x254], eax
lea eax, [esp + 0x238]
push eax
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004b8c1
mov ecx, 4
int 0x29
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx*4], eax
test eax, eax
je 0x1004b8d1
inc ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x10]
mov eax, dword [0x1008b1e4]
and dword [esp + 0x168], 0
push 0xc8
mov dword [esp + 0x15c], 0x38
mov dword [esp + 0x160], 8
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], 0x75
mov dword [esp + 0x174], 0x1004ef40
push dword [esi + 0x10]
push 0xfb2
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 0x10]
mov edi, esp
mov esi, dword [0x1008b9f4]
mov ecx, esi
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x174], eax
lea eax, [esp + 0x158]
push eax
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004b963
mov ecx, 4
int 0x29
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [edx + ebx*4], eax
test eax, eax
je 0x1004b977
inc ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov eax, dword [edi + 0x40]
push 5
pop ecx
mov dword [esp + 0x20], ecx
test eax, 0x100
je 0x1004ba39
mov eax, dword [0x1008b1e4]
mov dword [esp + 0x1a0], esi
mov esi, dword [esp + 0x10]
push 0xc8
mov dword [esp + 0x194], 0x38
mov dword [esp + 0x198], 8
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 0x77
mov dword [esp + 0x1ac], 0x1004f060
push dword [esi + 0x14]
push 0xffb
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 0x14]
mov esi, dword [0x1008b9f4]
mov ecx, esi
mov dword [esp + 0x1a4], eax
lea eax, [esp + 0x190]
mov dword [esp + 0x1ac], edi
mov edi, esp
push eax
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004ba1b
mov ecx, 4
int 0x29
mov edx, dword [esp + 0x14]
mov dword [edx + ebx*4], eax
test eax, eax
je 0x1004ba2b
inc ebx
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x1c]
push 6
pop ecx
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x40]
cmp dword [esp + 0x24], 0
mov esi, eax
jne 0x1004bb04
test eax, 0x800
je 0x1004bb04
mov eax, dword [0x1008b1e4]
lea ebx, [esp + 0x78]
imul esi, ecx, 0x38
mov ecx, dword [esp + 0x10]
push 0xc8
add ebx, esi
and dword [esp + esi + 0x8c], 0
mov dword [ebx], 0x38
mov dword [esp + esi + 0x80], 8
mov dword [esp + esi + 0x84], eax
mov dword [esp + esi + 0x88], 0xaed
mov dword [esp + esi + 0x94], 0x100518f0
push dword [ecx + 0x18]
push 0x1139
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
mov dword [esp + esi + 0x8c], eax
mov dword [esp + esi + 0x94], edi
mov edi, esp
mov esi, dword [0x1008b9f4]
mov ecx, esi
push ebx
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004bae0
mov ecx, 4
int 0x29
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [edx + ebx*4], eax
test eax, eax
je 0x1004baf4
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x20], ecx
mov esi, dword [edi + 0x40]
test esi, 0x200
je 0x1004bbbe
mov eax, dword [0x1008b1e4]
lea ebx, [esp + 0x78]
imul esi, ecx, 0x38
mov ecx, dword [esp + 0x10]
push 0xc8
add ebx, esi
and dword [esp + esi + 0x8c], 0
mov dword [ebx], 0x38
mov dword [esp + esi + 0x80], 8
mov dword [esp + esi + 0x84], eax
mov dword [esp + esi + 0x88], 0x6c
mov dword [esp + esi + 0x94], 0x100512c0
push dword [ecx + 0x1c]
push 0x10c5
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x1c]
mov dword [esp + esi + 0x8c], eax
mov dword [esp + esi + 0x94], edi
mov edi, esp
mov esi, dword [0x1008b9f4]
mov ecx, esi
push ebx
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004bb9f
mov ecx, 4
int 0x29
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [edx + ebx*4], eax
test eax, eax
je 0x1004bbb3
mov dword [esp + 0x60], ebx
inc ebx
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [edi + 0x48], eax
xor esi, esi
mov ecx, esi
cmp dword [edi + 0x84], esi
jle 0x1004bbe4
mov eax, dword [edi + 0x88]
test eax, eax
je 0x1004bbdb
mov eax, dword [eax + ecx*4]
mov dword [edx + ebx*4], eax
inc ebx
inc ecx
cmp ecx, dword [edi + 0x84]
jl 0x1004bbca
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
push 0xc8
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x274]
push ecx
mov dword [esp + 0x54], eax
mov eax, dword [0x1008b1e4]
push 0x21
push eax
mov dword [esp + 0x54], 0x34
mov dword [esp + 0x58], 0x200184
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_LoadStringW]
test dword [ebp + 8], 0x2000
lea eax, [esp + 0x270]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], 0x1004b410
je 0x1004bc4b
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], esi
call fcn.1008474e
mov esi, dword [0x1008b9f0]
lea eax, [esp + 0x44]
mov edi, esp
mov ecx, esi
push eax
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x1004bc82
mov ecx, 4
int 0x29
mov ecx, dword [esp + 0x30]
mov esi, eax
call fcn.100847a3
lea ecx, [esp + 0x14]
call fcn.10037062
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1004bcb8
mov ecx, ebx
call fcn.10037062
add ebx, 4
sub dword [esp + 0x34], 1
jne 0x1004bc9e
lea ecx, [esp + 0x40]
call fcn.10037062
mov ecx, dword [esp + 0x404]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10087900
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
cmp dword [edi + 0xa0], esi
jle 0x1004b979
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x1004bcf0
mov eax, dword [eax + ecx*4]
mov dword [edx + ebx*4], eax
inc ebx
inc ecx
cmp ecx, dword [edi + 0xa0]
jl 0x1004bcdf
mov dword [esp + 0x18], ebx
jmp 0x1004b979