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

Disassembly:
sub esp, 0x310
push ebx
push esi
push edi
mov edx, dword [0x5a2440]
mov ecx, dword [0x5a243c]
mov dword [esp + 0x1c], edx
mov edx, dword [0x5a2430]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x5a2444]
mov dword [esp + 0x2c], edx
mov edx, dword [0x5a2428]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x5a2434]
mov dword [esp + 0x3c], edx
mov edx, dword [0x5a2420]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x5a242c]
mov dword [esp + 0x4c], edx
mov edx, dword [str.djvu]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x5a2424]
mov dword [esp + 0x5c], edx
mov dx, word [0x5a241c]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x5a2418]
mov word [esp + 0x64], dx
mov edx, dword [0x5a2410]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x5a240c]
mov dword [esp + 0x70], edx
mov edx, dword [0x5a2408]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x5a2404]
mov dword [esp + 0x80], edx
mov edx, dword [0x5a23fc]
mov dword [esp + 0x7c], ecx
mov ecx, 7
mov eax, dword [0x5a2438]
mov dword [esp + 0x8c], edx
mov dx, word [0x5a2400]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [0x5a23f4]
mov word [esp + 0x90], dx
mov edx, dword [0x5a23f8]
mov dword [esp + 0x9c], ecx
mov ecx, dword [0x5a23ec]
mov dword [esp + 0xa0], edx
mov dx, word [0x5a23f0]
mov dword [esp + 0xac], ecx
mov ecx, dword [0x5a23e4]
mov word [esp + 0xb0], dx
mov edx, dword [0x5a23e8]
mov dword [esp + 0xc], eax
mov dword [esp + 0xbc], ecx
mov ecx, dword [0x5a23dc]
xor eax, eax
mov dword [esp + 0xc0], edx
mov edx, dword [0x5a23e0]
mov word [esp + 0x14], ax
mov dword [esp + 0x18], eax
mov word [esp + 0x24], ax
mov dword [esp + 0x28], 1
mov word [esp + 0x34], ax
mov dword [esp + 0x38], 2
mov word [esp + 0x44], ax
mov dword [esp + 0x48], 3
mov word [esp + 0x54], ax
mov dword [esp + 0x58], 4
mov dword [esp + 0x68], 5
mov word [esp + 0x74], ax
mov dword [esp + 0x78], 6
mov word [esp + 0x84], ax
mov dword [esp + 0x92], eax
mov word [esp + 0xa4], ax
mov dword [esp + 0xa8], 8
mov dword [esp + 0xb2], eax
mov dword [esp + 0xb8], 9
mov word [esp + 0xc4], ax
mov dword [esp + 0xc8], 0xa
mov dword [esp + 0xcc], ecx
mov ecx, dword [0x5a23d4]
mov dword [esp + 0xd0], edx
mov edx, dword [0x5a23d8]
mov dword [esp + 0xdc], ecx
mov ecx, dword [0x5a23cc]
mov dword [esp + 0xe0], edx
mov edx, dword [0x5a23d0]
mov dword [esp + 0xec], ecx
mov ecx, dword [0x598468]
mov dword [esp + 0xf0], edx
mov edx, dword [0x59846c]
mov dword [esp + 0xfc], ecx
mov ecx, dword [0x5a23c4]
mov dword [esp + 0x100], edx
mov edx, dword [0x5a23c8]
mov dword [esp + 0x10c], ecx
mov ecx, dword [0x5a23bc]
mov dword [esp + 0x110], edx
mov edx, dword [0x5a23c0]
mov dword [esp + 0x11c], ecx
mov ecx, dword [0x5a23b4]
mov dword [esp + 0x120], edx
mov edx, dword [0x5a23b8]
mov dword [esp + 0x12c], ecx
mov ecx, dword [0x5a23ac]
mov dword [esp + 0x130], edx
mov edx, dword [0x5a23b0]
mov dword [esp + 0x13c], ecx
mov ecx, dword [0x5a23a4]
mov dword [esp + 0x140], edx
mov edx, dword [0x5a23a8]
mov dword [esp + 0x14c], ecx
mov ecx, dword [0x5a239c]
mov dword [esp + 0x150], edx
mov edx, dword [0x5a23a0]
mov dword [esp + 0x15c], ecx
mov ecx, dword [0x5a2394]
mov dword [esp + 0x160], edx
mov edx, dword [0x5a2398]
mov dword [esp + 0x16c], ecx
mov ecx, dword [0x5a238c]
mov dword [esp + 0x170], edx
mov edx, dword [0x5a2390]
mov dword [esp + 0x17c], ecx
mov ecx, dword [0x5a2384]
mov dword [esp + 0x180], edx
mov edx, dword [0x5a2388]
mov dword [esp + 0x18c], ecx
mov ecx, dword [0x5a237c]
mov dword [esp + 0x190], edx
mov edx, dword [0x5a2380]
mov word [esp + 0xd4], ax
mov dword [esp + 0xd8], 0xb
mov word [esp + 0xe4], ax
mov dword [esp + 0xe8], 0xc
mov word [esp + 0xf4], ax
mov dword [esp + 0xf8], 0xd
mov word [esp + 0x104], ax
mov dword [esp + 0x108], 0xe
mov word [esp + 0x114], ax
mov dword [esp + 0x118], 0xf
mov word [esp + 0x124], ax
mov dword [esp + 0x128], 0x10
mov word [esp + 0x134], ax
mov dword [esp + 0x138], 0x11
mov word [esp + 0x144], ax
mov dword [esp + 0x148], 0x12
mov word [esp + 0x154], ax
mov dword [esp + 0x158], 0x13
mov word [esp + 0x164], ax
mov dword [esp + 0x168], 0x14
mov word [esp + 0x174], ax
mov dword [esp + 0x178], 0x15
mov word [esp + 0x184], ax
mov dword [esp + 0x188], 0x16
mov word [esp + 0x194], ax
mov dword [esp + 0x198], 0x17
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x1a0], edx
mov word [esp + 0x1a4], ax
mov dword [esp + 0x1a8], 0x18
mov ecx, dword [0x5a2374]
mov edx, dword [0x5a2378]
mov dword [esp + 0x1ac], ecx
mov ecx, dword [0x5a236c]
mov dword [esp + 0x1bc], ecx
mov ecx, dword [0x5a2364]
mov dword [esp + 0x1b0], edx
mov edx, dword [0x5a2370]
mov dword [esp + 0x1cc], ecx
mov ecx, dword [0x5a235c]
mov dword [esp + 0x1c0], edx
mov edx, dword [0x5a2368]
mov dword [esp + 0x1dc], ecx
mov ecx, dword [0x5a2354]
mov dword [esp + 0x1d0], edx
mov edx, dword [0x5a2360]
mov dword [esp + 0x1ec], ecx
mov ecx, dword [0x5a234c]
mov dword [esp + 0x1e0], edx
mov edx, dword [0x5a2358]
mov dword [esp + 0x1fc], ecx
mov ecx, dword [0x59bb98]
mov dword [esp + 0x1f0], edx
mov edx, dword [0x5a2350]
mov dword [esp + 0x20c], ecx
mov ecx, dword [str.wbmp]
mov dword [esp + 0x200], edx
mov edx, dword [0x59bb9c]
mov dword [esp + 0x21c], ecx
mov cx, word [0x5a2348]
mov dword [esp + 0x210], edx
mov edx, dword [0x5a2344]
mov word [esp + 0x224], cx
mov ecx, dword [0x5a233c]
mov dword [esp + 0x220], edx
mov edx, dword [0x5a2338]
mov dword [esp + 0x230], ecx
mov ecx, dword [0x5a2334]
mov dword [esp + 0x22c], edx
mov edx, dword [0x5a2330]
mov dword [esp + 0x240], ecx
mov ecx, dword [0x5a232c]
mov dword [esp + 0x23c], edx
mov edx, dword [0x5a2328]
mov dword [esp + 0x250], ecx
mov ecx, dword [0x5a2324]
mov dword [esp + 0x24c], edx
mov edx, dword [0x5a2320]
mov dword [esp + 0x260], ecx
mov ecx, dword [0x5a231c]
mov dword [esp + 0x25c], edx
mov edx, dword [0x5a2318]
mov dword [esp + 0x270], ecx
mov ecx, 0x25
mov dword [esp + 0x26c], edx
mov edx, dword [0x5a2310]
mov word [esp + 0x1b4], ax
mov dword [esp + 0x1b8], 0x19
mov word [esp + 0x1c4], ax
mov dword [esp + 0x1c8], 0x1a
mov word [esp + 0x1d4], ax
mov dword [esp + 0x1d8], 0x1b
mov word [esp + 0x1e4], ax
mov dword [esp + 0x1e8], 0x1c
mov word [esp + 0x1f4], ax
mov dword [esp + 0x1f8], 0x1d
mov word [esp + 0x204], ax
mov dword [esp + 0x208], 0x1e
mov word [esp + 0x214], ax
mov dword [esp + 0x218], 0x1f
mov dword [esp + 0x228], 0x20
mov word [esp + 0x234], ax
mov dword [esp + 0x238], 0x21
mov word [esp + 0x244], ax
mov dword [esp + 0x248], 0x22
mov word [esp + 0x254], ax
mov dword [esp + 0x258], 0x23
mov word [esp + 0x264], ax
mov dword [esp + 0x268], 0x24
mov word [esp + 0x274], ax
mov dword [esp + 0x278], ecx
mov dword [esp + 0x27c], edx
mov edx, dword [0x5a2314]
mov dword [esp + 0x280], edx
mov edx, dword [0x5a2308]
mov dword [esp + 0x28c], edx
mov edx, dword [0x5a230c]
mov dword [esp + 0x288], ecx
mov dword [esp + 0x290], edx
mov edx, dword [0x5a2304]
mov dword [esp + 0x298], ecx
mov ecx, dword [0x5a2300]
mov dword [esp + 0x2a0], edx
mov edx, dword [0x5a22fc]
mov dword [esp + 0x29c], ecx
mov ecx, dword [0x5a22f8]
mov dword [esp + 0x2b0], edx
mov edx, dword [0x5a22f4]
mov dword [esp + 0x2ac], ecx
mov ecx, dword [0x5a22f0]
mov dword [esp + 0x2c0], edx
mov edx, dword [0x5a22ec]
mov dword [esp + 0x2bc], ecx
mov ecx, dword [0x5a22e8]
mov dword [esp + 0x2d0], edx
mov edx, dword [0x5a22e4]
mov dword [esp + 0x2cc], ecx
mov ecx, dword [0x5a22e0]
mov dword [esp + 0x2e0], edx
mov edx, dword [0x5a22dc]
mov dword [esp + 0x2dc], ecx
mov ecx, dword [0x5a22d8]
mov ebx, dword [esp + 0x320]
mov dword [esp + 0x2ec], ecx
mov ecx, dword [0x5a22d0]
mov dword [esp + 0x2f0], edx
mov edx, dword [0x5a22d4]
mov dword [esp + 0x2fc], ecx
mov ecx, dword [0x5a22c8]
mov dword [esp + 0x300], edx
mov edx, dword [0x5a22cc]
mov word [esp + 0x284], ax
mov word [esp + 0x294], ax
mov word [esp + 0x2a4], ax
mov dword [esp + 0x2a8], 0x26
mov word [esp + 0x2b4], ax
mov dword [esp + 0x2b8], 0x27
mov word [esp + 0x2c4], ax
mov dword [esp + 0x2c8], 0x28
mov word [esp + 0x2d4], ax
mov dword [esp + 0x2d8], 0x29
mov word [esp + 0x2e4], ax
mov dword [esp + 0x2e8], 0x2a
mov word [esp + 0x2f4], ax
mov dword [esp + 0x2f8], 0x2b
mov word [esp + 0x304], ax
mov dword [esp + 0x308], 0x2c
mov dword [esp + 0x30c], ecx
mov dword [esp + 0x310], edx
mov word [esp + 0x314], ax
mov dword [esp + 0x318], 0x2d
xor esi, esi
lea edi, [esp + 0xc]
push ebx
push edi
call fcn.004d7652
add esp, 8
test eax, eax
je 0x49b870
inc esi
add edi, 0x10
cmp esi, 0x31
jb 0x49b84f
pop edi
pop esi
pop ebx
add esp, 0x310
ret
mov ecx, dword [esp + 0x324]
mov edx, dword [esp + 0x328]
shl esi, 4
mov eax, dword [esp + esi + 0x18]
push eax
push ecx
push str._s__d
push edx
call fcn.004d5ee1
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x310
ret