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

Disassembly:
sub esp, 0x630
xor eax, eax
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0xb3c]
mov edx, dword [ebp + 0xb40]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xb44]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0xb4c]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0xb50]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0xb54]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xb58]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0xb5c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0xb64]
mov dword [esp + 0x28], edx
mov edx, 1
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x340], edx
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], eax
mov dword [esp + 0x34c], eax
mov dword [esp + 0x350], eax
mov dword [esp + 0x354], eax
mov dword [esp + 0x358], eax
mov dword [esp + 0x35c], eax
mov dword [esp + 0x360], eax
mov dword [esp + 0x364], eax
mov dword [esp + 0x368], eax
mov dword [esp + 0x36c], eax
mov dword [esp + 0x370], eax
mov dword [esp + 0x374], eax
mov dword [esp + 0x378], eax
mov dword [esp + 0x37c], edx
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], edx
mov dword [esp + 0x388], eax
mov dword [esp + 0x38c], eax
mov dword [esp + 0x390], eax
mov dword [esp + 0x394], eax
mov dword [esp + 0x398], eax
mov dword [esp + 0x39c], eax
mov dword [esp + 0x3a0], eax
mov dword [esp + 0x3a4], eax
mov dword [esp + 0x3a8], eax
mov dword [esp + 0x3ac], eax
mov dword [esp + 0x3b0], eax
mov dword [esp + 0x3b4], eax
mov dword [esp + 0x3b8], edx
mov dword [esp + 0x3bc], eax
mov dword [esp + 0x3c0], eax
mov dword [esp + 0x3c4], eax
mov dword [esp + 0x3c8], edx
mov dword [esp + 0x3cc], eax
mov dword [esp + 0x3d0], eax
mov dword [esp + 0x3d4], eax
mov dword [esp + 0x3d8], eax
mov dword [esp + 0x3dc], eax
mov dword [esp + 0x3e0], eax
mov dword [esp + 0x3e4], eax
mov dword [esp + 0x3e8], eax
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3f4], edx
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x3fc], eax
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], edx
mov dword [esp + 0x410], eax
mov dword [esp + 0x414], eax
mov dword [esp + 0x418], eax
mov dword [esp + 0x41c], eax
mov dword [esp + 0x420], eax
mov dword [esp + 0x424], eax
mov dword [esp + 0x428], eax
mov dword [esp + 0x42c], eax
mov dword [esp + 0x430], edx
mov dword [esp + 0x434], eax
mov dword [esp + 0x438], eax
mov dword [esp + 0x43c], eax
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], edx
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], edx
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], edx
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], edx
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], eax
mov dword [esp + 0x224], eax
mov dword [esp + 0x228], eax
mov dword [esp + 0x22c], eax
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], eax
mov dword [esp + 0x23c], edx
mov dword [esp + 0x440], edx
mov dword [esp + 0x444], edx
mov dword [esp + 0x448], edx
mov dword [esp + 0x44c], edx
mov dword [esp + 0x450], edx
mov dword [esp + 0x454], edx
mov dword [esp + 0x458], edx
mov dword [esp + 0x45c], edx
mov dword [esp + 0x460], eax
mov dword [esp + 0x464], eax
mov dword [esp + 0x468], eax
mov dword [esp + 0x46c], eax
mov dword [esp + 0x470], eax
mov dword [esp + 0x474], eax
mov dword [esp + 0x478], edx
mov dword [esp + 0x47c], eax
mov dword [esp + 0x480], eax
mov dword [esp + 0x484], eax
mov dword [esp + 0x488], eax
mov dword [esp + 0x48c], eax
mov dword [esp + 0x490], eax
mov dword [esp + 0x494], edx
mov dword [esp + 0x498], eax
mov dword [esp + 0x49c], eax
mov dword [esp + 0x4a0], eax
mov dword [esp + 0x4a4], eax
mov dword [esp + 0x4a8], eax
mov dword [esp + 0x4ac], eax
mov dword [esp + 0x4b0], edx
mov dword [esp + 0x4b4], eax
mov dword [esp + 0x4b8], eax
mov dword [esp + 0x4bc], eax
mov dword [esp + 0x4c0], eax
mov dword [esp + 0x4c4], eax
mov dword [esp + 0x4c8], eax
mov dword [esp + 0x4cc], edx
mov dword [esp + 0x4d0], eax
mov dword [esp + 0x4d4], eax
mov dword [esp + 0x4d8], eax
mov dword [esp + 0x4dc], eax
mov dword [esp + 0x4e0], eax
mov dword [esp + 0x4e4], eax
mov dword [esp + 0x4e8], edx
mov dword [esp + 0x4ec], eax
mov dword [esp + 0x4f0], eax
mov dword [esp + 0x4f4], eax
mov dword [esp + 0x4f8], eax
mov dword [esp + 0x4fc], eax
mov dword [esp + 0x500], eax
mov dword [esp + 0x504], edx
mov dword [esp + 0x508], eax
mov dword [esp + 0x50c], eax
mov dword [esp + 0x510], eax
mov dword [esp + 0x514], eax
mov dword [esp + 0x518], eax
mov dword [esp + 0x51c], eax
mov dword [esp + 0x520], edx
mov dword [esp + 0x524], eax
mov dword [esp + 0x528], eax
mov dword [esp + 0x52c], eax
mov dword [esp + 0x530], eax
mov dword [esp + 0x534], eax
mov dword [esp + 0x538], eax
mov dword [esp + 0x53c], eax
mov dword [esp + 0x240], edx
mov dword [esp + 0x244], eax
mov dword [esp + 0x248], eax
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], eax
mov dword [esp + 0x254], eax
mov dword [esp + 0x258], eax
mov dword [esp + 0x25c], edx
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], edx
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], eax
mov dword [esp + 0x270], eax
mov dword [esp + 0x274], eax
mov dword [esp + 0x278], edx
mov dword [esp + 0x27c], eax
mov dword [esp + 0x280], eax
mov dword [esp + 0x284], eax
mov dword [esp + 0x288], edx
mov dword [esp + 0x28c], eax
mov dword [esp + 0x290], eax
mov dword [esp + 0x294], edx
mov dword [esp + 0x298], eax
mov dword [esp + 0x29c], eax
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a4], eax
mov dword [esp + 0x2a8], eax
mov dword [esp + 0x2ac], edx
mov dword [esp + 0x2b0], edx
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x2b8], eax
mov dword [esp + 0x2bc], eax
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x2c4], eax
mov dword [esp + 0x2c8], eax
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x2d0], edx
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], eax
mov dword [esp + 0x2e0], eax
mov dword [esp + 0x2e4], eax
mov dword [esp + 0x2e8], edx
mov dword [esp + 0x2ec], eax
mov dword [esp + 0x2f0], eax
mov dword [esp + 0x2f4], edx
mov dword [esp + 0x2f8], eax
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x300], eax
mov dword [esp + 0x304], edx
mov dword [esp + 0x308], eax
mov dword [esp + 0x30c], eax
mov dword [esp + 0x310], eax
mov dword [esp + 0x314], eax
mov dword [esp + 0x318], edx
mov dword [esp + 0x31c], eax
mov dword [esp + 0x320], edx
mov dword [esp + 0x324], eax
mov dword [esp + 0x328], eax
mov dword [esp + 0x32c], eax
mov dword [esp + 0x330], eax
mov dword [esp + 0x334], eax
mov dword [esp + 0x338], eax
mov dword [esp + 0x33c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0x644]
dec ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
cmp ecx, 4
ja case.default.0x4164d4
jmp dword [ecx*4 + 0x416754]
lea esi, [esp + 0x340]
jmp 0x416503
lea esi, [esp + 0x140]
jmp 0x416503
lea esi, [esp + 0x440]
jmp 0x416503
lea esi, [esp + 0x240]
jmp 0x416503
lea esi, [esp + 0x40]
mov ecx, 0x40
lea edi, [esp + 0x540]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x154]
add ecx, 4
add ebx, edx
cmp dword [ecx], eax
jne 0x416517
mov dword [ebp + ebx*4 + 0x154], edx
lea esi, [esp + 0x44]
mov dword [esp + 0x18], 8
xor ecx, ecx
cmp ebx, 8
setge cl
add esi, 0x20
dec ecx
and ebx, ecx
mov ecx, ebx
shl ecx, 5
mov edi, dword [esp + ecx + 0x540]
mov dword [esi - 0x24], edi
mov edi, dword [esp + ecx + 0x544]
mov dword [esi - 0x20], edi
mov edi, dword [esp + ecx + 0x548]
mov dword [esi - 0x1c], edi
mov edi, dword [esp + ecx + 0x54c]
mov dword [esi - 0x18], edi
mov edi, dword [esp + ecx + 0x550]
mov dword [esi - 0x14], edi
mov edi, dword [esp + ecx + 0x554]
mov dword [esi - 0x10], edi
mov edi, dword [esp + ecx + 0x558]
mov ecx, dword [esp + ecx + 0x55c]
mov dword [esi - 0xc], edi
mov dword [esi - 8], ecx
add ebx, edx
sub dword [esp + 0x18], edx
jne 0x416533
mov ecx, dword [ebp + 0x13c]
mov ecx, dword [ecx + 0xa0]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
jge 0x4166aa
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
add edi, ebx
sub ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
mov edi, 3
jmp 0x4165e0
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
cmp esi, ecx
jge 0x41667b
sub ecx, esi
mov dword [esp + 0x1c], ecx
jmp 0x416600
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea ecx, [esi + ecx*8]
cmp dword [esp + ecx*4 + 0x40], eax
je 0x41665c
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
movzx ebx, byte [ebx + edi]
mov ecx, dword [ebp + 0x68]
mov edi, dword [esp + 0x14]
mov byte [edi + ecx], bl
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
movzx ebx, byte [edi + ebx + 1]
mov ecx, dword [ebp + 0x68]
mov edi, dword [esp + 0x14]
mov byte [ecx + edi + 1], bl
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
movzx ebx, byte [edi + ebx + 2]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x68]
mov byte [ecx + edi + 2], bl
mov edi, 3
add esi, edx
mov ecx, esi
sub ecx, 8
neg ecx
sbb ecx, ecx
add dword [esp + 0x14], edi
add dword [esp + 0x10], edi
and ecx, esi
sub dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
jne 0x416600
mov ecx, dword [esp + 0x30]
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
add ecx, edx
mov esi, ecx
sub esi, 8
neg esi
sbb esi, esi
and esi, ecx
mov ecx, dword [esp + 0x24]
add dword [esp + 0x14], ecx
sub dword [esp + 0x20], edx
mov dword [esp + 0x28], esi
jne 0x4165e0
add dword [ebp + 0x14c], edx
mov ecx, dword [ebp + 0x14c]
cmp ecx, dword [ebp + 0x150]
jne 0x416746
mov dword [ebp + 0x134], eax
mov dword [ebp + 0xb3c], eax
mov dword [ebp + 0xb40], eax
mov dword [ebp + 0xb44], eax
mov dword [ebp + 0xb48], eax
mov dword [ebp + 0xb4c], eax
mov dword [ebp + 0xb50], eax
mov dword [ebp + 0xb54], eax
mov dword [ebp + 0xb58], eax
mov dword [ebp + 0xb5c], eax
mov dword [ebp + 0xb60], eax
mov dword [ebp + 0xb64], eax
mov dword [ebp + 0x154], eax
mov dword [ebp + 0x158], eax
mov dword [ebp + 0x15c], eax
mov dword [ebp + 0x160], eax
mov dword [ebp + 0x164], eax
mov dword [ebp + 0x168], eax
mov dword [ebp + 0x16c], eax
mov dword [ebp + 0x170], eax
mov dword [ebp + 0x174], eax
mov dword [ebp + 0xb78], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x630
ret 4