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

Disassembly:
sub esp, 0x3a4
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3b8]
xor ebx, ebx
cmp edi, ebx
mov esi, ecx
mov dword [esp + 0x10], ebx
jge 0x419849
mov ebp, dword [sym.imp.KERNEL32.dll_FormatMessageA]
push ebx
lea eax, [esp + 0x14]
push ebx
push eax
push 0x400
push edi
push ebx
push 0x900
call ebp
test eax, eax
sete al
cmp al, bl
jne 0x41982f
push ebx
lea ecx, [esp + 0x14]
push ebx
push ecx
push 0x400
push edi
push ebx
push 0x1100
call ebp
test eax, eax
sete al
cmp al, bl
je 0x419849
mov edx, dword [esp + 0x10]
lea ecx, [esi + 8]
push edx
call fcn.00575d5e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x419856
lea ecx, [esi + 8]
push 0x61810c
call fcn.00575d5e
mov edx, 0x529f
mov ecx, 0x52c6
mov ebp, 0x52da
mov edi, 0x52dc
mov eax, 1
mov dword [esp + 0x18], 0xc0040219
mov dword [esp + 0x1c], 0x5292
mov dword [esp + 0x20], 0x52d4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xc0040226
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0xc004021b
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xc0041080
mov dword [esp + 0x70], 0x5295
mov dword [esp + 0x74], 0x52be
mov dword [esp + 0x78], 0x52d9
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0xc004022e
mov dword [esp + 0x8c], 0x5296
mov dword [esp + 0x90], 0x52bf
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], 0xc0040234
mov dword [esp + 0xa8], 0x5297
mov dword [esp + 0xac], 0x52c0
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], 0xc0040233
mov dword [esp + 0xc4], 0x5298
mov dword [esp + 0xc8], 0x52c1
mov dword [esp + 0xcc], 0x52df
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], 0xc004021e
mov dword [esp + 0xe0], 0x5299
mov dword [esp + 0xe4], 0x52bc
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 0xc004022a
mov dword [esp + 0xfc], 0x529a
mov dword [esp + 0x100], 0x52c2
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], 0xc0041081
mov dword [esp + 0x118], edx
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], ebp
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], 0xc0040212
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], 0x52db
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], 0xc0040211
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], 0x52db
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], 0xc004023c
mov dword [esp + 0x16c], 0x529e
mov dword [esp + 0x170], 0x52c5
mov dword [esp + 0x174], 0x52dd
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], 0xc004022f
mov dword [esp + 0x188], edx
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x190], ebx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x198], ebx
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x1a0], 0xc0040205
mov dword [esp + 0x1a4], 0x528f
mov dword [esp + 0x1a8], 0x528f
mov dword [esp + 0x1ac], 0x52b9
mov dword [esp + 0x1b0], ebx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], 0xc0040201
mov dword [esp + 0x1c0], 0x52d6
mov dword [esp + 0x1c4], 0x52d7
mov dword [esp + 0x1c8], 0x52d8
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x1d8], 0xc0040208
mov dword [esp + 0x1dc], 0x52a1
mov dword [esp + 0x1e0], 0x52c8
mov dword [esp + 0x1e4], 0x52de
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], 0xc0040209
mov dword [esp + 0x1f8], 0x52a2
mov dword [esp + 0x1fc], 0x52c9
mov dword [esp + 0x200], 0x52dd
mov dword [esp + 0x204], ebx
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], ebx
mov dword [esp + 0x210], 0xc0040220
mov dword [esp + 0x214], 0x52a3
mov dword [esp + 0x218], 0x52ca
mov dword [esp + 0x21c], 0x52dd
mov dword [esp + 0x220], ebx
mov dword [esp + 0x224], eax
mov dword [esp + 0x228], ebx
mov dword [esp + 0x22c], 0xc0040237
mov dword [esp + 0x230], 0x52a4
mov dword [esp + 0x234], 0x52cb
mov dword [esp + 0x238], edi
mov dword [esp + 0x23c], eax
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], ebx
mov dword [esp + 0x248], 0xc004021a
mov dword [esp + 0x24c], edx
mov dword [esp + 0x250], ecx
mov dword [esp + 0x254], ebp
mov dword [esp + 0x258], ebx
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x260], ebx
mov dword [esp + 0x264], 0xc0041012
mov dword [esp + 0x268], 0x52a6
mov dword [esp + 0x26c], 0x52a6
mov dword [esp + 0x270], 0x52b9
mov dword [esp + 0x274], ebx
mov dword [esp + 0x278], eax
mov dword [esp + 0x27c], ebx
mov dword [esp + 0x280], 0xc004023d
mov dword [esp + 0x284], 0x52ba
mov dword [esp + 0x288], 0x52ba
mov dword [esp + 0x2a4], ecx
mov dword [esp + 0x2c0], ecx
mov dword [esp + 0x2f8], ecx
mov ecx, 0x52ca
mov dword [esp + 0x2a8], ebp
mov dword [esp + 0x368], ecx
mov dword [esp + 0x384], ecx
mov ebp, 0x52db
mov ecx, 0x52af
mov dword [esp + 0x28c], 0x52b9
mov dword [esp + 0x290], ebx
mov dword [esp + 0x294], eax
mov dword [esp + 0x298], ebx
mov dword [esp + 0x29c], 0xc0040229
mov dword [esp + 0x2a0], edx
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2b0], ebx
mov dword [esp + 0x2b4], ebx
mov dword [esp + 0x2b8], 0xc004021d
mov dword [esp + 0x2bc], edx
mov dword [esp + 0x2c4], ebp
mov dword [esp + 0x2c8], ebx
mov dword [esp + 0x2cc], ebx
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x2d4], 0xc0040210
mov dword [esp + 0x2d8], 0x52a9
mov dword [esp + 0x2dc], 0x52b7
mov dword [esp + 0x2e0], ebx
mov dword [esp + 0x2e4], ebx
mov dword [esp + 0x2e8], ebx
mov dword [esp + 0x2ec], ebx
mov dword [esp + 0x2f0], 0xc0040223
mov dword [esp + 0x2f4], edx
mov dword [esp + 0x2fc], ebp
mov dword [esp + 0x300], ebx
mov dword [esp + 0x304], ebx
mov dword [esp + 0x308], ebx
mov dword [esp + 0x30c], 0xc0041087
mov dword [esp + 0x310], 0x5295
mov dword [esp + 0x314], 0x52be
mov dword [esp + 0x318], 0x52d9
mov dword [esp + 0x31c], ebx
mov dword [esp + 0x320], ebx
mov dword [esp + 0x324], ebx
mov dword [esp + 0x328], 0xc004022b
mov dword [esp + 0x32c], 0x52ac
mov dword [esp + 0x330], 0x52d1
mov dword [esp + 0x334], edi
mov dword [esp + 0x338], eax
mov dword [esp + 0x33c], ebx
mov dword [esp + 0x340], ebx
mov dword [esp + 0x344], 0xc0040239
mov dword [esp + 0x348], 0x52ad
mov dword [esp + 0x34c], 0x52d2
mov dword [esp + 0x350], edi
mov dword [esp + 0x354], eax
mov dword [esp + 0x358], ebx
mov dword [esp + 0x35c], ebx
mov dword [esp + 0x360], 0xc004022c
mov dword [esp + 0x364], 0x5291
mov dword [esp + 0x36c], edi
mov dword [esp + 0x370], eax
mov dword [esp + 0x374], eax
mov dword [esp + 0x378], eax
mov dword [esp + 0x37c], 0xc004023b
mov dword [esp + 0x380], 0x52ae
mov dword [esp + 0x388], 0x52dd
mov dword [esp + 0x38c], ebx
mov dword [esp + 0x390], eax
mov dword [esp + 0x394], eax
mov dword [esp + 0x398], 0xc004022d
mov dword [esp + 0x39c], ecx
mov dword [esp + 0x3a0], ecx
mov dword [esp + 0x3a4], ebx
mov dword [esp + 0x3a8], ebx
mov dword [esp + 0x3ac], ebx
mov dword [esp + 0x3b0], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
xor ebp, ebp
mov dword [esi + 0x24], ebx
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0x21
mov edx, dword [esp + 0x3b8]
cmp edx, dword [ecx - 4]
jne 0x41a030
mov edx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esi + 0x24], edx
mov edx, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov dword [esi + 0x10], edx
mov edx, dword [ecx + 0x10]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], edx
mov edx, dword [ecx + 0x14]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x14]
add ecx, 0x1c
dec edx
mov dword [esp + 0x14], edx
jne 0x41a004
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x41a071
push eax
lea ecx, [esi + 0x20]
call fcn.00576ee0
push ebp
lea ecx, [esi + 0x28]
call fcn.00576ee0
cmp edi, ebx
je 0x41a086
push edi
lea ecx, [esi + 0x2c]
call fcn.00576ee0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3a4
ret 4
lea edi, [esi + 8]
lea ecx, [esi + 0x20]
push edi
call fcn.00575d0e
push edi
lea ecx, [esi + 0x28]
call fcn.00575d0e
lea ecx, [esi + 0x2c]
call fcn.00575b60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3a4
ret 4